<link type="text/css" href="<?php echo base_url()?>css/ui-lightness/jquery-ui-1.8.17.custom.css" rel="stylesheet" />	
<script type="text/javascript" src="<?php echo base_url()?>js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>js/jquery-ui-1.8.17.custom.min.js"></script>

<style type="text/css">
        /*demo page css*/
        .demoHeaders { margin-top: 2em; }
        #dialog_link {padding: .4em 1em .4em 20px;text-decoration: none;position: relative;}
        #dialog_link span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;}
        ul#icons {margin: 0; padding: 0;}
        ul#icons li {margin: 2px; position: relative; padding: 4px 0; cursor: pointer; float: left;  list-style: none;}
        ul#icons span.ui-icon {float: left; margin: 0 4px;}
</style>	

	<script>
	$(function() {
		$( "#datepicker" ).datepicker();
	});
	$(function() {
		$( "#datepicker2" ).datepicker();
	});
	$(function() {
		$( "#datepicker3" ).datepicker();
	});
	</script>
    <div class="jodol">Make a Todo</div>
    <div class="clear"></div>
            <ul class="tabs">
                    <li class="satu"><a href="#tab1">For Myself</a></li>
                    <li><a href="#tab2">For Unit</a></li>
                    <li class="tiga"><a href="#tab3">For Personal</a></li>
                    <li class="empat"><div id="gogo">&nbsp;</div></li>
            </ul>
            <div class="tab_container">
                <form method="post" action="<?php echo base_url().'progress/progress_con/todo_making_process/1'?>">
                    <div id="tab1" class="tab_content">
                            <div class="gores tul"> 
                                    <textarea class="say sayu peter" name="todo1" cols="65" rows="3"></textarea>  
                                    <input type="text" class="say2 say" id='datepicker' name="date1" value="Deadline date"> 
                                    <input type="checkbox" name="urgent1" id="checkbox" /> Urgently
                            </div>
                            <div class="sendatas"><input name="send" type="submit" class="send" value="Post" /></div>
                            <div class="sendsamping"><div class="sendsamping2"></div></div>
                    </div>
                </form>
                    <!---->
                 <form method="post" action="<?php echo base_url().'progress/progress_con/todo_making_process/2'?>">
                   <div id="tab2" class="tab_content">
                        <?php
                            if(!empty($divisi)){
                                echo '<select name="select_divisi" id="select" class="nana peter sel">';
                                for($i=0;$i<count($divisi);$i++){
                                    echo '<option value="'.$divisi[$i]['ID_DIVISI'].'">'.$divisi[$i]['NAMA_DIVISI'].'</option> ';
                                }
                                echo '</select>';
                            }
                        ?>
                            <div class="gores tul"> 
                                    <textarea class="say sayu peter" name="todo2" cols="65" rows="3"></textarea>  
                                    <input type="text" class="say2 say" name="date2" id='datepicker2' value="Deadline date"> 
                                    <input type="checkbox" name="urgent2" id="checkbox" /> Urgently
                            </div>
                            <div class="sendatas"><input name="send" type="submit" class="send" value="Post" /></div>
                            <div class="sendsamping"><div class="sendsamping2"></div></div>
                    </div>
                 </form>
                    <!---->
                <form method="post" action="<?php echo base_url().'progress/progress_con/todo_making_process/3'?>">
                    <div id="tab3" class="tab_content">
                        <?php
                            if(!empty($user)){
                                echo '<select name="select_user" id="select" class="nana peter sel">';
                                for($i=0;$i<count($user);$i++){
                                    if($user[$i]['ID']!=$this->session->userdata('id'))
                                    echo '<option value="'.$user[$i]['ID'].'">'.$user[$i]['NAMA'].'</option> ';
                                }
                                echo '</select>';
                            }
                        ?>
                            <div class="gores tul"> 
                                    <textarea class="say sayu peter" name="todo3" cols="65" rows="3"></textarea>  
                                    <input type="text" class="say2 say" id="datepicker3" name="date3" value="Deadline date"> 
                                    <input type="checkbox" name="urgent3" id="checkbox" /> Urgently
                            </div>
                            <div class="sendatas"><input name="send" type="submit" class="send" value="Post" /></div>
                            <div class="sendsamping"><div class="sendsamping2"></div></div>
                    </div>
                </form>
            </div><!---end tab container --->

    <div class="clear"></div>

    <div class="clear"></div>